JMJRIRefToJNIObject
Converts a JRI-basedjref
to a JNI-basedjobject
.
jobject JMJRIRefToJNIObject ( JMSessionRef session, JNIEnv* env, jref jriRef);
session
- The current session.
env
- The current
JNIEnv
data structure.jriRef
- The
jref
to convert.- function result
- A pointer to the
jobject
object.DISCUSSION
If you want to usejref
object references with the Java Native Interface (JNI), you must convert them tojobject
references usingJMJRIRefToJNIObject
. Note that you must have a pointer to the currentJNIEnv
data structure before calling this function.SEE ALSO
TheJMGetCurrentEnv
function.